FROM nginx:stable-alpine

ENV  TZ=Asia/Shanghai

RUN  apk  update && apk  add  vim  grep  git  unzip  

RUN  mkdir -p /app/www

WORKDIR  /app/www

EXPOSE 80

##Windows  挂载目录
## docker  run --name  nginx  -p  80:80  -v  E:\www:/app/www  -v  E:\www\docker\nginx\nginx.conf:/etc/nginx/nginx.conf  -v  E:\www\docker\nginx\vhost:/etc/nginx/conf.d/ -d  nginx    


## docker  run --name  nginx  -p  80:80  -v  E:\www:/app/www  -v  E:\www\docker\nginx\vhost:/etc/nginx/conf.d/ -d  nginx 



##Linux
## docker  run --name  nginx  -p  80:80  -v  /app/www:/app/www  -v  /app/www/docker/nginx/vhost:/etc/nginx/conf.d/ -d  nginx    挂载目录

